From 48b6b939d367384cd0543c3bac44a45d89d6280e Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Wed, 22 Dec 2010 20:41:06 +0100 Subject: [PATCH] Implement process_updates_recurse for GdkOffscreenWindow Makes offscreen windows work again. --- gdk/gdkoffscreenwindow.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index 6c2c86406e..a4a0d418a9 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -698,6 +698,13 @@ gdk_offscreen_window_set_boolean (GdkWindow *window, { } +static void +gdk_offscreen_window_process_updates_recurse (GdkWindow *window, + cairo_region_t *region) +{ + _gdk_window_process_updates_recurse (window, region); +} + static void gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass) { @@ -779,7 +786,7 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass) impl_class->destroy_notify = NULL; impl_class->register_dnd = NULL; impl_class->drag_begin = NULL; - impl_class->process_updates_recurse = NULL; + impl_class->process_updates_recurse = gdk_offscreen_window_process_updates_recurse; impl_class->sync_rendering = NULL; impl_class->simulate_key = NULL; impl_class->simulate_button = NULL; -- 2.30.2